//-----------------------------------------------------------------------
//<copyright file="DongMoKy.cs" company="MinhSong">
//Copyright (c) MinhSong. All rights reserved.
//</copyright>
//-----------------------------------------------------------------------
using System;
using System.Runtime.Serialization;

namespace PMS.Entity
{
	public class DongMoKy: BaseEntity
	{
		#region Variable Declarations

		private string m_MaKy;
		private DateTime m_NgayMoKy;
		private DateTime m_NgayDongKy;
		private string m_NguoiCapNhap;
		private string m_GhiChu;
        private bool m_DongKy;

		#endregion

		#region Constructors

		public DongMoKy() {}
		public DongMoKy(
			string maKy,
			DateTime ngayMoKy,
			DateTime ngayDongKy,
			string nguoiCapNhap,
			string ghiChu)
		{
			m_MaKy = maKy;
			m_NgayMoKy = ngayMoKy;
			m_NgayDongKy = ngayDongKy;
			m_NguoiCapNhap = nguoiCapNhap;
			m_GhiChu = ghiChu;
		}

		#endregion

		#region Properties

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string MaKy
		{
			get { return m_MaKy; }
			set { m_MaKy = value;
				OnPropertyChanged("MaKy");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is DateTime</value>
		[DataMember]
		public DateTime NgayMoKy
		{
			get { return m_NgayMoKy; }
			set { m_NgayMoKy = value;
				OnPropertyChanged("NgayMoKy");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is DateTime</value>
		[DataMember]
		public DateTime NgayDongKy
		{
			get { return m_NgayDongKy; }
			set { m_NgayDongKy = value;
				OnPropertyChanged("NgayDongKy");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string NguoiCapNhap
		{
			get { return m_NguoiCapNhap; }
			set { m_NguoiCapNhap = value;
				OnPropertyChanged("NguoiCapNhap");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string GhiChu
		{
			get { return m_GhiChu; }
			set { m_GhiChu = value;
				OnPropertyChanged("GhiChu");
		}
		}

        /// <summary>
        ///
        /// </summary>
        ///<value>This type is string</value>
        [DataMember]
        public bool DongKy
        {
            get { return m_DongKy; }
            set
            {
                m_DongKy = value;
                OnPropertyChanged("DongKy");
            }
        }

		#endregion
	}
}//End Class
